package com.jluzh10.learning.service;

import com.jluzh10.learning.domain.Reply;

import java.util.List;

/**
 * @author cj
 * @date 6/1/2019
 */
public interface ReplyService {

    /**
     * 查询某条回答下的所有评论
     * @param answerId
     * @return
     */
    public List<Reply> searchReplies(Integer answerId);

    /**
     * 插入一条回复
     */
    public int addReply(Reply reply);
}
